Thermochemistry of hydrated ammonium borates