Which event was the immediate cause of WWI?