On the impact of trust relationships on social network group formation