How mechanisms of perceptual decision-making affect the psychometric function