Formation of d-holes in the initial stages of the oxidation of Ag(001)