Co-optimized expansion planning for power system resilience and adaptation