The interaction of ultrathin films of Ni and Pd with W(110): an XPS study