Anomalous resistivity and thermopower of the spinel-type compounds CuIr 2 S 4 and CuIr 2 Se 4