Diatom dynamics in a coastal ecosystem affected by upwelling: coupling between species succession, circulation and biogeochemical processes