An Optimization Framework for Resilience-based Power Grid Restoration