Agroecological farming methods are needed to withstand climate shocks