Which of the following conditions is NOT necessary for photosynthesis to take place?