Common Mathematical Foundations of Expected Utility and Dual Utility Theories