Cation-Gated Ion Transport at Nanometer Scale for Tunable Power Generation.