Quality of Life among Community-Dwelling Middle-Aged and Older Adults: Function Matters More than Multimorbidity.