Obama pays tribute to Mandela in South Africa