Using percolation-based effective-medium approximation to determine effective permeability in fractured reservoirs