Hydrothermal synthesis, characterization and photocatalytic activity of Mg doped MoS2