A novel method for the simultaneous measurement of temperature and strain using a three wire connection