Development and validation of global prediction models for monitoring the manufacturing process of herbal medicine by ultraviolet spectroscopy