Palliative care can benefit people with dementia