Dawid Malan and Jos Buttler smashed England to a nine-wicket win over South Africa and a 3-0 series sweep.