A secret report warned that British spies may have put lives at risk because their surveillance systems were sweeping up more data than could be analyzed.