Effect of interlayer and deposition temperature on the hydrogen storage properties of amorphous Mg-based thin films