Structure and properties of Tb2Pd2Mg hydride