Energetics of the oxygen vacancy order-disorder transition in Ba_2In_2O_5