Functional disability, cognitive impairment, and depression after hospitalization for pneumonia.