Detecting dementia in general practice