The impact of rheumatoid arthritis on the risk of adverse events following joint replacement : a real-world cohort study