A rapid method for determining diffusion constants in solution