Studies on AB2-type intermetallic compounds, II. High-pressure synthesis and crystal structure of MgEr2 and MgTb2