What did Locke accept that Machiavelli and Hobbes also believed?