Proteas end World Cup campaign with win over Aussies