Entropic thermoelasticity of thin polymeric films