South African MPs re-elect Ramaphosa as president