Labor, Markets, and Agricultural Production