Functional impairment and co-occurring psychiatric disorders in medically hospitalized men.