Hume, teleology and the 'science of man'