What was the immediate cause of WWI?