A speculation on the origin of the genetic code