The effects of climate and habitat on butterfly populations.