Optical and electronic properties of ZnIn2(S_xSe_1-x)4