The Moral Basis of Democracy