Determinants of physical functioning and health-related quality of life among sexual and gender minority older adults with cognitive impairment