Quality of life in elderly subjects with pain in the hip or knee