Effects of residual stress on the mechanical properties of plasma-sprayed thermal barrier coatings