Mechanisms of fungal endophyte-mediated resistance to insects in cotton Grant uri icon