Pregnant women who exercise cut risk of diabetes, says study