quaternion discrete Fourier transform (QDFT)