Theoretical analysis of a Mach–Zehnder interferometer with a porous-film waveguide