Feasibility of linking markers of dementia-related health in primary care medical records to cognitive function assessed in a specialist dementia service