From the thermodynamics of constitutive laws to the thermomechanical experimental characterization of a semicrystalline polymer from IR imaging