Health-related quality of life and appropriateness of knee or hip joint replacement.