Health-related quality of life of elderly living in the rural community and homes for the elderly in a district of India