Unraveling the origin of near-infrared emission in carbon dots by ultrafast spectroscopy