Diagnosis and management of dementia in primary care