HbA1c, Insulin Resistance, and β-Cell Function in Relation to Cognitive Function in Type 2 Diabetes: The CAROLINA Cognition Substudy