The effects of birth spacing after cesarean delivery on pregnancy outcomes: a retrospective cohort study