Biochemical and photosynthetic aspects of energy production