Synthesis of Mg2+-, Al3+-, and Ga3+-containing layered hydroxides and supported platinum catalysts based thereon