Local solid-state modification of nanopore surface charges