Effect of quenching on the electrical and optical properties of MoTe2