Polycondensates containing more than one epoxy group per molecule