Discriminant analysis of Chinese patent medicines based on near-infrared spectroscopy and principal component discriminant transformation.