Laser synthesis of bimetallic nanoalloys in the vapor and liquid phases and the magnetic properties of PdM and PtM nanoparticles (M = Fe, Co and Ni).