Migration of saline solutions in variably saturated porous media