Genetic Centralized Dynamic Clustering in Wireless Sensor Networks