Moody's affirms South Africa's Ba2 rating amid economic challenges and political change