Cognitive impairment in age-related macular degeneration and geographic atrophy.