Nanoscale Mach-Zehnder interferometer with spin-resolved quantum Hall edge states