Towards controlled synthesis and property modulation of heteroatom-doped carbon quantum dots