Composition, structure and stability of surfaces formed by Ni deposition on Pd(111)