Chemical activation of tannin derived carbon foams