Chronic obstructive pulmonary disease, younger age and impaired preoperative flexion increase the risk of stiffness after total knee arthroplasty: a retrospective case–control study