About half the cases of gestational diabetes, a common pregnancy complication, could be avoided if body weight was maintained in the normal range