Metabolic and immunological effects of gut microbiota in leaf beetles at the local and systemic levels.