Energy efficient residual node detection system using clustering approach in wireless sensor networks