Ion permeation and selectivity in ClC-type chloride channels.