Bioenergetic and developmental response of a mayfly to thermal variation 1