Preterm birth etiological pathways: a Bayesian networks and mediation analysis approach