Text this: Investigations of optical and electronic properties of two-dimensional MoS2