Afghan, U.S. Officials Sign Long-Delayed Security Pact