Models and simulations of variable-density flow in fractured porous media