Investigation into Red Emission and Its Applications: Solvatochromic N-Doped Red Emissive Carbon Dots with Solvent Polarity Sensing and Solid-State Fluorescent Nanocomposite Thin Films