Effects of a magnetic field on the optoelectronic properties of mono- and bi-layer transition metal dichalcogenides. (14th June 2018)