Thickness-dependent structure and properties of SnS2 thin films prepared by atomic layer deposition