Influence of social determinants of health on quality of life in patients with multimorbidity and polypharmacy