Ion and electron beam nanofabrication of the which-way double-slit experiment in a transmission electron microscope