What were the main factors that contributed to the spread of Islamic art and architecture throughout the world?