Activation energy in the thermal decomposition of MgH2 powders by coupled TG–MS measurements. Part 1. Comparison among TG- and MS-data processing