Gold nanoparticle self-assembly as means for making electrocatalysts and magnetic nanonets and their application for oxygen evolution reaction and water purification