Research hopes to help with avoidable hospital admissions for people with dementia