Formation and Thermal Properties of Layered Nanocomposites with Layered Double Hydroxides and Polyanions