Electrochemical Analysis of Ion Effects on Electrolyte-Gated Synaptic Transistor Characteristics.