John Stuart Mill, Utilitarianism