A Sentiment-Aware Approach to Community Formation in Social Media