Metal-insulator transition in the spinel-type Cu(Ir1−xCrx)2S4 system