How Much Inequality Is Fair? (Mathematical Principles of a Moral, Optimal, and Stable Capitalist Society)