Characterization of electrical properties and photosensitivity of SnS thin films prepared by the electrochemical deposition method