Magnetic properties of nanoparticles in Pd/Ni alloys