Doped assemblies of gold nanoparticles: structural and electronic properties.