Facile one-pot synthesis of highly porous carbon foams for high-performance supercapacitors using template-free direct pyrolysis.