Text this: Design of Mach-Zehnder interferometer and ring resonator for biochemical sensing