During the carboniferous period, photosynthesis in immense swamp forests removed ________ from the atmosphere, which produced a drier, cooler global climate and promoted the success of ________.