Solution of the multidimensional quantum harmonic oscillator with time-dependent frequencies through Fourier, Hermite and Wigner transforms