Temperature evolution associated with dynamic phase transformation in shape-memory TiNi alloys