Loneliness and depression in the elderly: the role of social network