South African President Jacob Zuma announces resignation