Quantitative real-time release testing of rhubarb based on near-infrared spectroscopy and method validation