how much atp is produced in photosynthesis