Effects of long-term ionic and osmotic stress conditions on photosynthesis in the cyanobacterium Synechocystis sp. PCC 6803.