Polyester synthesis genes associated with stress resistance are involved in an insect–bacterium symbiosis