An optimized person-centred intervention to improve quality of life for people with dementia living in care homes: a cluster randomized controlled trial