Assessment of uterine activity in ambulatory patients at high risk of preterm labor and delivery