Amid threat of war, world must not give up hope, pope tells diplomats