Achieving High Volumetric Lithium Storage Capacity in Compact Carbon Materials with Controllable Nitrogen Doping