Corrosion protection and thermal and mechanical properties for epoxy–thiol–imidazole systems of improved performance