Intrinsic stress of epitaxial thin films