Where had the Slavs settled by the end of the 6th century?