Value of magnetic resonance spectroscopy in geriatric patients with cognitive impairment