Severe postpartum morbidity and mode of delivery: a retrospective cohort study