Measurement of triple-gauge-boson couplings of the W boson at LEP