Buoyancy-driven exchange flow of immiscible yield-stress fluids in a vertical closed-ended container