Cognitive Trajectory Before and After Cataract Surgery: A Population-Based Approach.