Genetic diversity and adaptive traits in the filamentous cyanobacterium Planktothrix rubescens