The heat energy released during nuclear fission and fusion is due to the: