Analysis of pattern formation in the heterocyst-forming filamentous cyanobacterium Anabaena sp. strain PCC 7120