Biotransformations of carbon dioxide in photobioreactors