materials needed during photosynthesis