Reaction-induced phase separation in rubber-modified epoxy resins