Mg-Al and Mg-In hydrotalcitelike materials