A comparison of the mass detector and gas density detector for quantitative analysis