Environmental change and ecosystem functioning drive transitions in social-ecological systems: A stylized modelling approach