Carbon nano-onion encapsulated cobalt nanoparticles for oxygen reduction and lithium-ion batteries