Synthesis of nitrogen-doping carbon dots with different photoluminescence properties by controlling the surface states.