Synthesis of epoxy–clay nanocomposites. Influence of the nature of the curing agent on structure