An optical logic element for integrated optics in a nonlinear semiconductor interferometer