Reversible hydrogen storage in Mg(HxF1−x)2 solid solutions