Excessive gestational weight gain in early pregnancy and insufficient gestational weight gain in middle pregnancy increased risk of gestational diabetes mellitus