Effects of directional environmental change on extinction dynamics in experimental microbial communities are predicted by a simple model