MS2 (M = W, Mo) photosensitive thin films for solar cells