From lab-scale optimization of Mg-based composites for H2 storage to the realization of a portable prototype