Anomalous magnetic and quadrupole moments of the W boson in the two-Higgs-doublet model.