Personal and environmental relationships among the elderly living in residential settings