Device-to-Device Users Clustering Based on Physical and Social Characteristics