Dynamic line narrowing of nuclear quadrupole resonance