Dual functions of codons in the genetic code