Preparation of carbon nanofiber with multilevel gradient porous structure for supercapacitor and CO2 adsorption