what to study to become a doctor in south africa