Prevalence of dementia, delirium and psychiatric symptoms in various care settings for the elderly