Meso-macro modelling of crack-induced diffusivity in heterogeneous materials