An interplay between quadratic-phase Fourier and Zak transforms