Effects of silver additions on resistance to thermal shock and delayed failure of YBa_2Cu_3O_7−δ superconductors