Valorization of solid wastes from chestnut industry processing: Extraction and optimization of polyphenols, tannins and ellagitannins and its potential for adhesives, cosmetic and pharmaceutical industry.