Synthesis and Electrochemical Properties of Macro-/Microporous Carbon Foams