When their migratory movements ended, there appeared among the Slavs the first rudiments of state organizations, each headed by a prince with a treasury and a defense force. When did the first rudiments of state organizations appear among the Slavs?