Synthesis and properties of polyamine resins from epoxy resins