Prediction of total antioxidant capacity of red wine by Fourier transform infrared spectroscopy