Statistical modeling of the relationship between pre-pregnancy body-mass-index and maternal and perinatal outcomes