Big Unit agrees to one-year deal with the Giants