Accumulation of the 178m2Hf isomeric nuclei through spallation with intermediate-energy protons of tantalum and rhenium targets