New adverse obstetrics outcomes associated with endometriosis: a retrospective cohort study