Interaction between bacterial endophytes and host plants