Gastrointestinal immunology and ecology