Oxidation of cobalt at high temperatures