Association of cognitive functioning with retinal nerve fiber layer thickness.