Fabrication and formation mechanism of carbon foam with two-level cell structure