Application of the zero-time resolution technique to nuclear quadrupole resonance