Quality of life and dementia