Investigating the Effect of Reaction Time on Carbon Dot Formation, Structure, and Optical Properties