The condition of microscopic reversibility in Gibbs ensemble Monte Carlo simulations of phase equilibria