Risk factors for the development of hypermagnesemia in patients prescribed magnesium oxide: a retrospective cohort study