A Social Welfare Function Characterizing Competitive Equilibria of Incomplete Financial Markets