Electroweak corrections to W-boson pair production at the LHC