Integrated optimization of a regional integrated energy system with thermal energy storage considering both resilience and reliability