Synthesis of nitrogen and sulfur codoped carbon dots and application for fluorescence detection of Cd(ii) in real water samples