The course of pain and function in osteoarthritis and timing of arthroplasty: the CHECK cohort