An equation for diffusion in shrinking or swelling bodies