Evidence of oxygen segregation at Ag/MgO interfaces