Counter-current diffusion of silver nitrate and hydrochloric acid in cellulose and Nafion films