Cervical morphology in pregnancy, bacterial vaginosis and the risk of preterm delivery