On the origin of gaseous impurities measured by mass spectroscopy in the JFT-2 tokamak