On the molecular mechanism of the evolution of genetic code alterations