New glycidyl ester compounds containing a preformed imide ring—I