A cross-sectional study on quality of life in geriatric population