A possible method of evolution of the migratory habit in butterflies