Effects of role interdependence and ego strength on group functioning