Small compressive strain-induced semiconductor–metal transition and tensile strain-enhanced thermoelectric properties in monolayer PtTe2