A surveillance system for early-stage diagnosis of endogenous diseases by swarms of nanobots