Behavioural plasticity and environmental change