Resilience to stress and risk of gastrointestinal infections