A general mechanism for perceptual decision-making in the human brain