Switching behavior of carbon chains bridging graphene nanoribbons: effects of uniaxial strain.