Mechanical and electronical properties of ZnS under pressure