Pressure-induced phase transitions in silver halides