Nitrogen-doped carbon quantum dots as fluorescent probe for "off-on" detection of mercury ions, l-cysteine and iodide ions.