Giants sign former Cowboys linebacker Jaylon Smith