Nonlinear optical properties of conjugated polymers