The earth sciences in the 19th and 20th centuries