The tunable bandgap effect of SnS films