Residential and nursing home care of elderly people with cognitive impairment: prevalence, mortality and costs.