Free energy and internal variables in linear viscoelasticity.