US Supreme Court takes on ethics row with first-ever code of conduct