A retrospective study of functional ability among people with dementia when admitted to group-dwelling.