A general method to synthesize metal/N-doped carbon nanocomposites with advanced sodium storage properties