US to cooperate with Pakistan on border security: spokesperson