Preparation and characterization of imidazole–metal complexes and evaluation of cured epoxy networks