Cognitive dysfunction in hip fracture patients.