Hg(II)-mediated intramolecular cyclization reaction in aqueous media and its application as Hg(II) selective indicator.