how long to study for a doctor in south africa