The economics of subsistence agriculture