The properties of synthetic carbon derived from nitrogen- and phosphorus-containing polymer