world war 1 lasted four years. what were the years