Synthesis and properties of the molybdenum and tungsten disulfide thin films