Complications of primary total hip arthroplasty among patients with rheumatoid arthritis, psoriatic arthritis, ankylosing spondylitis, and primary osteoarthritis