Enhancing Resilience in Buildings Through Energy Efficiency