Effects of film composition and annealing on residual stress evolution for shape memory TiNi film