Discrimination of Chinese patent medicines using near-infrared spectroscopy and principal component accumulation method