Mid-long-term results of total knee arthroplasty followed by ipsilateral total hip arthroplasty versus total hip arthroplasty subsequent to ipsilateral total knee arthroplasty: a case-control analysis