Sonographic assessment of the cervix before, during and after a uterine contraction is effective in predicting the course of labor