Characterization of nonlinear phase shifts by use of the temporal transport-of-intensity equation.