Influence of surface chemistry on optical, chemical and electronic properties of blue luminescent carbon dots