Evaluating the effects of temperature variability on a lepidopteran agricultural pest: from life history traits to host-pathogen interactions