Measurement of the Z resonance parameters at LEP