Emergent properties: Detection of the node-capture attack in mobile wireless sensor networks