Impact of visual function on computer task accuracy and reaction time in a cohort of patients with age-related macular degeneration