Nuclear electric resonance and orientation of carrier spins by an electric field