Nitrogen functionalized carbon nanocages optimized as high-performance anodes for sodium ion storage