Ex-South Africa captain Smith rejects charges of racism