Effect of maternal obesity and weight gain on gestational diabetes mellitus