US to fingerprint most foreign visitors