Timing of acute myocardial infarction in patients undergoing total hip or knee replacement: a nationwide cohort study.