Multimode fiber Mach-Zehnder interferometer for measurement of refractive index