Self-assembled spherical aggregates of gold nanoparticles and their network ensembles mediated by metal ion recognition