The multifunctional role of ionic liquids in the formation of epoxy-silica nanocomposites