Tannin-based rigid foams: a survey of chemical and physical properties