Cognitive impairment in nondiabetic middle-aged and older adults is associated with insulin resistance