Spectroscopy analysis of phenolic and sugar patterns in a food grade chestnut tannin