On determination of irradiation-induced permeation of hydrogen through metals by the mass-spectrometry method