Cognitive Functions in Middle Aged Individuals Are Related to Metabolic Disturbances and Aerobic Capacity: A Cross-Sectional Study