A context-aware social robot to improve the quality of life of people with dementia