Resilient planning of low-carbon power systems