Parallel environmental factors drive variation in insect density and plant resistance in the native and invaded ranges.