Model of heat diffusion in the outer crust of bursting neutron stars