Surface-Charge Effects on Voltammetry in Carbon Nanocavities.