Global warming will weaken wind power, study predicts