Heteroatom-Enhanced Porous Carbon Materials Based on Polybenzoxazine for Supercapacitor Electrodes and CO2 Capture