Nonlinear optical signal processing