Weight gain after diagnosis of gestational diabetes mellitus and its association with adverse pregnancy outcomes: a cohort study