Measuring cervical dilation