Depression and cognitive impairment in the elderly: a multicentre study