Density Functional Theory Investigating Interlayer Structure and Ion-Exchange Properties of Mg/Al Layered Double Hydroxides