Advanced elasticity/Maxwell relations for thermoelasticity