Bio-inspired sensor network design: Distributed decision through self-synchronization