Optical properties of spin-coated SnS2 thin films