Local inhomogeneity in gate hysteresis of carbon nanotube field-effect transistors investigated by scanning gate microscopy.