Direct measurement of strain effects on magnetic and electrical properties of epitaxial SrRuO3 thin films