NBC: Supreme Court adopts code of conduct amid ethics scrutiny