Chemistry, morphology, microtomography and activation of natural and carbonized tannin foams for different applications.