Chorismate mutase in microorganisms and plants