Preparation of waterborne dispersions of epoxy resin by the phase-inversion emulsification technique. 1. Experimental study on the phase-inversion process