US: NSA phone record collection ruled unconstitutional