Clustering via diffusion adaptation over networks