The photographer who captured the inhumanity of apartheid’s divide has died