The evolution of elongation factors Tu and G by gene duplication