Effects of compressive and tensile stress on the growth mode of epitaxial oxide films