World leaders and thousands of South Africans have filed past Nelson Mandela's flag-draped coffin as he lies in state in the amphitheatre where he was sworn in 19 years earlier as the country's first black president.