Derive an expression for the total work done in rotating an electric dipole through an angle in a uniform electric field?