Intracellular recordings of action potentials by an extracellular nanoscale field-effect transistor