Underpotential deposition as a synthetic and characterization tool for core@shell dendrimer-encapsulated nanoparticles