Temporal Relationship Between Depressive Symptoms and Cognition in Mid and Late Life: A Longitudinal Cohort Study.