Afghanistan ready to sign security pact with US