Growth of intergranular cracks by diffusion