briefly describe the three stages of photosynthesis and where they take place in the structure of the cell