Origins of new genes and evolution of species