Functionalized layered double hydroxide-based epoxy nanocomposites with improved flame retardancy and mechanical properties