Highly efficient one-step synthesis of carbon encapsulated nanocrystals by the oxidation of metal π-complexes