Enhanced UV-Vis photodetector performance by optimizing interfacial charge transportation in the heterostructure by SnS and SnSe2.