Study of optical properties of polycrystalline Y2Ir2O7