Conformity in cooperative and competitive groups