UHEED - An Unequal Clustering Algorithm for Wireless Sensor Networks