Application of Near-infrared Spectroscopy in the quality control and chemical analysis of Chinese herbal medicines