An estimate of the impact of transient luminous events on the atmospheric temperature