Dynamic Social Community Detection and Its Applications