Nonlinear optical waves in disordered ferroelectrics