The effect of oxidation on the structure of nickel nanoparticles