A study on the use of near-infrared spectroscopy for the rapid quantification of major compounds in Tanreqing injection.