Reduced thermal conductivity of supported and encased monolayer and bilayer MoS2