GPs should consider whether older people experiencing anxiety or depression for the first time are showing changes in memory or thinking that could indicate dementia, researchers say.