Interaction of sulfur dioxide and carbon dioxide with clean silver in ultrahigh vacuum