Cognitive Functioning Is Related to Physical Functioning in a Longitudinal Study of Women at Midlife