High-temperature residual stresses in thin films characterized by x-ray diffraction substrate curvature method.