Fluctuation of energy in the generalized thermostatistics