Structural transition, metallization, and superconductivity in quasi-two-dimensional layered PdS2 under compression