Thermochemical formation of IrO2 and Ir