Aromatic polyamides as new precursors of nitrogen and oxygen-doped ordered mesoporous carbons