Change in quality of life and potentially associated factors in patients receiving home-based primary care: a prospective cohort study