Skipper Elgar leads from front as Proteas reach 218-5 in second Test