Effects of gestational weight gain and body mass index on obstetric outcome