The effect of pupil and observation distance on the contrast sensitivity function