Evolutionary mechanisms of long-term genome diversification associated with niche partitioning in marine picocyanobacteria