The study of the Quran and the Hadith thrived in such a scholarly atmosphere. Who was the famous astronomer that Avicenna met before he left Khwarezm?