The in vitro and in vivo protective effects of tannin derivatives against Salmonella enterica serovar Typhimurium infection.