Social networks influence farming practices and agrarian sustainability