Timing of adverse events in patients undergoing acute and elective hip arthroplasty surgery: a multicentre cohort study using the Global Trigger Tool