Control of heterocyst and nitrogenase synthesis in cyanobacteria