Tailoring the Electron Density of Functional Groups for Controlled Charge Transfer in SWCNTs