Permeability of Microcracked Porous Solids: Modeling from Homogenization to Percolation