Costs and Benefits of Activation of the Heat-Shock Response in Drosophila melanogaster