Two-phase evolution of accretionary margins: examples from the North American Cordillera