Selective transport of ions and molecules across layer-by-layer assembled membranes of polyelectrolytes, p-sulfonato-calix[n]arenes and Prussian Blue-type complex salts.