Studies on the reaction mechanism of chorismate synthase