Functional capacity and mental status of elderly people in long-term care in west Glasgow.