Synthesis of Carbon Dots with Tunable Luminescence