Dynamic thermal analysis of solid-state reactions