An economic analysis of the quality of primary care for the management of comorbidities in patients living with dementia