Coordination of mercury(II) to gold nanoparticle associated nitrotriazole towards sensitive colorimetric detection of mercuric ion with a tunable dynamic range.