Facile preparation of nitrogen-doped porous carbon for high performance symmetric supercapacitor