Resilience of food sufficiency to future climate and societal changes