The photographer's vivid work, on display in a new retrospective, captures South Africa during and after apartheid