NBC: Justices participated in leak investigation, Supreme Court official confirms