Noninvasive technique could shed light on preterm birth