On the equivalence of Z ps -linear generalized Hadamard codes