Nanostructured MoS2 and WS2 Photoresponses under Gas Stimuli