Information theory unifies atomistic machine learning, uncertainty quantification, and materials thermodynamics