Anion metathesis in ionic silica nanoparticle networks