Interferometric measurements of nonlinear optical properties for all optical switching applications in dielectric waveguides.