Photosynthesis and Carbon Metabolism in Marine and Freshwater Diatoms