Spatial labeling in a two-photon interferometer