Newly declassified memos detail extent of improper Obama-era NSA spying