Adaptive developmental plasticity in a butterfly : mechanisms for size and time at pupation differ between diapause and direct development