Preparation of waterborne P-N containing epoxy resin curing and its performances