Gradient percolation in three dimensions and relation to diffusion fronts.