Lignin-derived heteroatom-doped hierarchically porous carbon for high-performance supercapacitors: “Structure-function” relationships between lignin heterogeneity and carbon materials