Analysis of life quality and prevalence of cognitive impairment, anxiety, and depressive symptoms in older adults