Experimental study on some property effects and one-dimensional modeling of the cure and residual stress for thermal and electromagnetic curing of epoxy resin