Obstetric consequences of subfertility: a retrospective cohort study