Phase-field study on the growth of magnesium silicide occasioned by reactive diffusion on the surface of Si-foams