X-ray photoelectron spectroscopic studies and property measurements on electroless nickel and copper deposits