XPS d bands and core levels of Pt-Ni alloys