using diffusion into or out of a solid from or into a liquid phase