Molecular Dynamics Simulation of the Energetics and Structure of Layered Double Hydroxides Intercalated with Carboxylic Acids