Application of infrared spectroscopy to the determination of impurities in titanium tetrachloride