Jailed South African ex-president released on medical parole