what are the different types of energy changes that occur in chemical reactions​