Host nutrition and infectious disease: an ecological view