I–V Curves of graphene nanoribbons under uniaxial compressive and tensile strain