Evaluation of the Economic and Environmental Sustainability of Livestock Farms in Inland Areas