Solid-state reactions and hydrogen storage in magnesium mixed with various elements by high-pressure torsion: experiments and first-principles calculations