Application of least squares support vector machines and partial least squares in quantitation on purification of Gardenia jasminoides intermediate using NIR spectroscopy