Work and welfare in economic theory