Phytic acid-induced self-assembled chitosan gel-derived N, P–co-doped porous carbon for high-performance CO2 capture and supercapacitor