Contribution of gut symbionts to the host physiology of a wood-boring beetle