The when and how of leaving school: The policy implications of new evidence on secondary schooling in South Africa