Pakistan gives training to terrorists: US