Chancellor Philip Hammond has warned the EU that Britain will "fight back" and not "slink off like a wounded animal" if it does not get the Brexit deal it wants.