Synthesis and Photoluminescence Mechanism of Multicolored Nitrogen-Doped Carbon Nanodots and Their Application in Polymer Self-Assemblies