Third-order nonlinear guided-wave optical devices