Sketch-based community detection in evolving networks