Study sheds light on origin of genetic code