Long-term results of cementless primary total hip arthroplasty with a threaded cup and a tapered, rectangular titanium stem in rheumatoid arthritis and osteoarthritis