Study of the four-fermion final state at the Z resonance