Hierarchical porous nitrogen-doped carbon microspheres after thermal rearrangement as high performance electrode materials for supercapacitors