Synthesis and characterization of PtNi dendrimer-encapsulated nanoparticles