Dynamic Mach–Zehnder interferometer based on a Michelson configuration and a cube beam splitter system