Sustainability of mountainous farming systems