South Africa willing to advise US on peaceful transition