Degenerative evolution and functional diversification of type-III secretion systems in the insect endosymbiont Sodalis glossinidius.