Provisions under which NSA can collect, retain data on U.S. residents revealed