Relationship between myometrial and cervical functions in pregnancy and labor.