Timing of delivery in women with pre-pregnancy diabetes mellitus: a population-based study