A selective colorimetric and efficient removal strategy for mercury (II) using mesoporous silver-melamine nanocomposites synthesized by controlled supramolecular self-assembly.