Ecological coassociations influence species' responses to past climatic change: an example from a Sonoran Desert bark beetle