Which factor most contributed to the cultural diversity of the Ottoman Empire?