Structure and phase changes in thermally treated mixed hydroxides of Mg and Al-effect of compaction