Bacteria may contribute to premature births, STDs