Conductance of graphene nanoribbons under mechanical deformation