Performance Assessment of Variational Integrators for Thermomechanical Problems