Cognitive impairment and functional status in elderly institutionalized patients with schizophrenia