Microenvironment effect on the electronic potentials of individual (6,5)single-walled carbon nanotubes