Discrete Fourier, Hartley, and cosine transforms in signal processing