Interferometer with Nonlinear Frequency DoublingMirrors as Lossless All-Optical Switching Device