Comparative study on the mechanism in photocatalytic degradation of different-type organic dyes on SnS2 and CdS