Novel N-doped porous carbon microspheres containing oxygen and phosphorus for CO2 absorbent and metal-free electrocatalysts