Measurement of WW/WZ→ℓνqq' production with the hadronically decaying boson reconstructed as one or two jets in pp collisions at s√=8 TeV with ATLAS, and constraints on anomalous gauge couplings