Detection of mercury(II) and glutathione using a carbon dots-based “off-on” fluorescent sensor and the construction of a logic gate