Nonlinear propagation of phase-modulated optical pulses