factors that impact the quality of life