Adaptations to environmental change: an evolutionary perspective