Work Function of Oxide Ultrathin Films on the Ag(100) Surface