Impact of the medicalization of labor on mode of delivery