Nuclear reactions of silver with 25.2 GeV 12 C ions and 300 GeV protons