The evolution of endosymbiont density in doubly infected host species