How does CO2 affect the rate of photosynthesis?