Detection of overlapping communities in static complex networks