A mechanism for functional segregation of mitochondrial and cytosolic genetic codes