A dipole is present in an electrostatic field of magnitude 106N/C. If the work done in rotating it from its position of stable equilibrium to its position of unstable equilibrium is 2×10~23J, then find the magnitude of the dipole moment of this dipole.