Selective Ion Transport in Membranes with Sub-Nanometer Pores