Welfare effects of capital controls