First-Principles Calculations for the Energetics of the Hydration Reaction of Acceptor-Doped BaZrO3