Solid-phase reactions, self-propagating high-temperature synthesis, and martensitic transformations in thin films