Caregivers’ understanding of dementia predicts patients’ comfort at death: a prospective observational study