Remarkable hydrogen storage properties in three-layered Pd/Mg/Pd thin films