One and two photon quantum interference in a Mach-Zehnder interferometer