Fundamental study of the ion permeability of ultrathin, layered polyelectrolyte films