The pupil dilation response to visual detection