The 10th century saw a mass migration of Turkic tribes from Central Asia into the Iranian plateau. In what year did the Ghaznavids briefly control large portions of Iran