Strength of minority ties: the role of homophily and group composition in a weighted social network