Optical and electrical properties of the mixed valence compound Sm3S4