de Villiers and Prince put South Africa on top