An experimental simulation of changes in diatom and flagellate blooms