Overlapping community detection in networks with positive and negative links