Group character: a study of collective virtue and vice