Micellar and vesicular nanoassemblies of triazole-based amphiphilic probes triggered by mercury(II) ions in a 100% aqueous medium.