How do groups make good decisions?