Comparison of total hip arthroplasty in osteoarthritis of mechanical and rheumatologic causes