Fabrication of carbon foams with high mechanical properties derived from sucrose/polyacrylamide hydrogel