Feasibility study on the use of UV-vis and FTIR spectroscopies for the classification and quality control of food-grade tannins