A type-II PtS2/MoTe2 van der Waals heterostructure with adjustable electronic and optical properties