Global warming and environmental agreements