Control of algae and cyanobacteria