A Cross-Layer Designed Clustering Scheme Exploiting Data Similarity in Wireless Sensor Networks