Mechanisms of attention for cues associated with rewarding and aversive outcomes