Estimating the probability of spontaneous delivery conditional on time spent in the second stage