Experimental investigation of the Tb-Mg phase diagram