Metrics and algorithm for optimal retrofit strategy of resilient transportation networks