One-pot and ultrafast synthesis of nitrogen and phosphorus co-doped carbon dots possessing bright dual wavelength fluorescence emission.