Quantitative Determination of Impurities in Solids by Mass Spectrometry