South African scholar released by Egypt after 2 years