Effect of Halogen Ions on the Photocycle of Fluorescent Carbon Nanodots