Environmental factors regulating nitrogen fixation in heterocystous and non-heterocystous cuanobacteria