Neural representation of task difficulty and decision making during perceptual categorization: a timing diagram