War and Nationalism: Evidence from World War I and the Rise of the Nazi Party