Two metal blocks that have slightly different temperatures are placed next to one another. After five minutes, they both have lower but equal temperatures. According to the law of conservation of energy, what most likely happened?