On the origin of the translation system and the genetic code in the RNA world by means of natural selection, exaptation, and subfunctionalization