Characterization of impurities in silicon by IR spectroscopy