Vibrational characterization of functional groups in cocoa beans during roasting with Fourier transform infrared spectroscopy