How to measure diffusion coefficients in biofilms