Global warming made South Africa floods more likely, study says