Spontaneous radiation of an electron beam in a free-electron laser with a quadrupole wiggler