Two-phase gravity currents in porous media