when did the first and second world war started and end?