Design and implementation of some optical logic devices using electro-optic effect based mach-zehnder interferometer structure