All-optical logic gates using nonlinear effects in silicon-on-insulator waveguides.