Analysis of the energy input and loss in the thermosphere during the auroral events using SABER infrared limb emission and GUVI limb emission