US urge Pak, Afghan to cooperate in fighting terrorism