Synthesis and formation mechanistic investigation of nitrogen-doped carbon dots with high quantum yields and yellowish-green fluorescence.