Metal-insulator transition in the spinel-type Cu1-xNixIr2S4 system