How the NSA builds social graphs of Americans with phone, email, and location records