Variation in electric resistivity in metastable alloys during thermomechanical loading : effects of temperature, elasticity, plasticity and phase transformation