Critical comparison of photon counting and direct current measurement techniques for quantitative spectrometric methods.