A thermodynamic approach to non-isothermal phase-field evolution in continuum physics