What led to the end of the Ottoman Empire at the close of World War I?