Ecological and Genetic Contributions to Species Responses to Environmental Change