Thermodynamic Characterization of Temporal Networks