South Africa reopens beaches after fatal shark attack