Exceptional thermodynamics: The equation of state of G(2) gauge theory