Cognitive and affective dimensions of inattention