Effect of the surface chemistry on the photoluminescence properties of boron doped carbon dots