Should we subsidize work? Welfare reform, the earned income tax credit and optimal transfers