The documentary photographer, best known for recording everyday life in the townships of South Africa, has died. His images illuminated the ordinary under apartheid, and captured a society in transformation after the regime ended