Hume and Historical Necessity