Environmental and socioeconomic factors of abandonment of rainfed and irrigated crops in northeast Spain