Hume's theory of space and time