Analysis of organic acids in wines by Fourier-transform infrared spectroscopy