Plasma etching of Hf-based high-k thin films. Part III. Modeling the reaction mechanisms