The carbonization of granular polyaniline to produce nitrogen-containing carbon