Quantitative measurement of impurities in gallium arsenide