Tribological properties and X-ray photoelectron spectroscopy studies of ion-plated gold on nickel and iron