Ion transport by viscous gas flow through capillaries