An underlying diagnosis of osteonecrosis of bone is associated with worse outcomes than osteoarthritis after total hip arthroplasty