Application and validation method of NIRS in production of Chinese materia medica