A new approach to characterization of the transition temperatures of thin film NiTi shape memory alloys