LNT: a Logical Neighbor Tree for Secure Group Management in Wireless Sensor Networks