Association of cognitive impairment and depressive symptoms with subjective memory complaints in people with dementia