Green synthesis of carbon nanodots as an effective fluorescent probe for sensitive and selective detection of mercury(II) ions