A dual percolation model for predicting the connectivity of fractured porous media