Influence of temperature on patch residence time in parasitoids: physiological and behavioural mechanisms