Modification of condensed tannins: from polyphenol chemistry to materials engineering