Membrane-based assay for iodide ions based on anti-leaching of gold nanoparticles.