The synthesis of porous carbons from a lignin-rich residue for high-performance supercapacitors