Socioeconomic, health, and psychosocial mediators of racial disparities in cognition in early, middle, and late adulthood