Exceptional electrochemical performance of nitrogen-doped porous carbon for lithium storage