Nitrogen-doped graphite encapsulating RuCo nanoparticles toward high-activity catalysis of water oxidation and reduction