Positivity of temperature in the general Frémond model for shape memory alloys