US asks Pakistan, Afghanistan to work jointly to eliminate safe heavens in border areas