Measurement of the mass and the width of the W boson at LEP