Gravimetric determination of tannins and their correlations with chemical and protein precipitation methods