Gene expression, metabolic regulation and stress tolerance during diapause