Interaction of hydrogen and oxygen with a chlorine covered Ag(111) surface