Continuity of GP care for patients with dementia: impact on prescribing and the health of patients