Polymeric electro-optic Mach–Zehnder switches