Pressure-induced phase transformations in the chalcopyrite-structure compounds: CuGaS 2 and AgGaS 2