Differentiation of the pattern of cognitive impairment between depressed and non-depressed patients with dementia living in long-term care facilities