Diet or exercise, or both, for preventing excessive weight gain in pregnancy.