Spectroscopic studies of IrO2 and Bi2Ir2O7