Development and fabrication of an optimized thermo-electro-optic device using a Mach–Zehnder interferometer