DFT domain characterization of quasicyclic codes