Raman and Photoluminescence Study of Dielectric and Thermal Effects on Atomically Thin MoS2