Sub-surface incorporation of oxygen on Ag(001) during molecular dissociation