An integrated approach of the interactions between nutrition and resistance to infection in fruit flies