Synthesis and electrochemical properties of benzoxazine-based heteroatom-doped carbon materials