Patterned Membrane as Substrate and Electrolyte in Depletion- and Enhancement Mode Ion-Modulated Transistors