Dual-continuum modeling of shale and tight gas reservoirs