Determination of anthocyanins in red wine using a newly developed method based on Fourier transform infrared spectroscopy