Which leader of a muslim empire ordered a new code of laws for his empire and oversaw construction of a stunning mosque in the capital at istanbul