Reaction product of a polyhydric phenol and epichlorohydrin or diepoxide, having a molecular weight of over 5,000