When Do Power Shifts Lead to War