The Moon Deluge and other Otherworldly Catastrophes. Astronomy and Earth History at the Turn of the Eighteenth Century