Effects of Relative Permeability History Dependence on Two-Phase Flow in Porous Media