Effect of tensile and compressive strains on the transport properties of SmNiO3 layers epitaxially grown on (001) SrTiO3 and LaAlO3 substrates