Impact of impaired fasting glucose and other metabolic factors on cognitive function in elderly people.